#ifndef MAIN2_H_INCLUDED_SUDOKU_MARS2009
#define MAIN2_H_INCLUDED_SUDOKU_MARS2009

/* Structures */
typedef struct
{
    int key[SDLK_LAST], buttons[3], xsouris, ysouris, quit;
} Input;


typedef struct
{
    SDL_Surface *background, *difficulte;
    SDL_Rect posBackground, posDifficulte;
    int play, choix, complexite;
} FenetreMenu;


typedef struct
{
    SDL_Surface *texte;
    SDL_Rect pos;
    TTF_Font *police, *police2;
    SDL_Color couleur, couleur2;
    int temps, temps2, m, s, afficherTemps, stopTemps, full, resolu, aide, stylo, event, difficulte;
    char chaine[50], chaineTemps[10];
} Header;


typedef struct
{
    SDL_Surface *background, *grille;
    SDL_Rect posBackground, posGrille;
    int active;
} FenetreJeu;


typedef struct
{
    SDL_Surface *surface_s, *surface_t;
    SDL_Rect position_s, position_t;
    SDL_Color couleur;
    TTF_Font *police;
    char message[100];
    int active, choix, numero, quitter;
} InfoBulle;


typedef struct
{
    SDL_Surface *une_case, *case_actuelle;
    TTF_Font *police, *police2;
    SDL_Color couleur;
    SDL_Rect posPremiereCase, posCaseActuelle;
    int case_y, case_x;
    int grille[9][9], grille_af[9][9], grille_or[9][9], grille_cr[9][9][9];
} Cloture;



#endif
